package com.example.day08;

import java.util.Scanner;

/**
 * @author Lenovo
 */
public class StringTest02 {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        System.out.println("请输入一个字符串：");
        String line=sc.nextlune();
        for (int i = 0; i < line.length(); i++){
            System.out.println(line.charAt(i));
        }
    }
}
